<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>v-cloak</title>
   <style>
      [v-cloak]{
         display: none;
      }
   </style>
</head>
<body>
  <!-- 
    (1) 特性是解析完毕后可以自动去除v-cloak标签
    (2) v-cloak可以在还在显示{{name}}的时候先利用css隐藏，等解析出来之后再自动去掉v-cloak标签
    (3) 了解即可
  -->
  <div id="root">
      <div v-cloak>{{name}}</div>
  </div>
  <script src="http://localhost:8080/resource/5s/vue.js"></script>
  <script type='text/javascript'>
      new Vue({
          el:'#root',
          data:{
             name:'aaa'
          }
      }) 
  </script>
</body>
</html>